package com.qf.ebook.util;

import com.qf.ebook.vo.ResultVO;

public class R {

    public static ResultVO ok(Object data){
        ResultVO vo = new ResultVO();
        vo.setData(data);
        return vo;
    }

    public static ResultVO ok(){
        return ok(null);
    }

    public static ResultVO ok(Long count,Object data){
        ResultVO vo = new ResultVO();
        vo.setCount(count);
        vo.setData(data);
        return vo;
    }


}
